package com.yomahub.liteflow.example.component.my;

import com.yomahub.liteflow.core.NodeComponent;
import com.yomahub.liteflow.example.bean.my.ResultVo;
import org.springframework.stereotype.Component;

/**
 * 初始化参数检查组件
 */
@Component("B")
public class BCmp extends NodeComponent {


    @Override
    public void process() throws Exception {
        ResultVo r = this.getContextBean(ResultVo.class);
        r.setMsg("这是偶数");
    }
}
